Platform Explorer / Nuxeo Platform 6.0

Contribution org.nuxeo.platform.birt.reporting.layoutContrib--layouts

This contribution is part of XML component org.nuxeo.platform.birt.reporting.layoutContrib inside nuxeo-birt-reporting-web-6.0.jar

Extension Point

Extension point layouts of component WebLayoutManager.

Contributed Items

  • <layout name="birtReport">
          <templates>
            <template mode="any">/layouts/layout_default_template.xhtml
            </template>
          </templates>
          <rows>
            <row>
              <widget>model</widget>
            </row>
            <row>
              <widget>key</widget>
            </row>
            <row>
              <widget>parameters</widget>
            </row>
          </rows>
          <widget name="key" type="text">
            <labels>
              <label mode="any">label.birt.reporting.reportKey</label>
            </labels>
            <translated>true</translated>
            <fields>
              <field>birt:reportKey</field>
            </fields>
            <widgetModes>
              <mode value="create">hidden</mode>
            </widgetModes>
          </widget>
          <widget name="model" type="template">
            <labels>
              <label mode="any">label.birt.reporting.reportModel</label>
            </labels>
            <translated>true</translated>
            <fields>
              <field>birt:modelRef</field>
            </fields>
            <properties mode="any">
              <property name="template">/widgets/reportmodelref_widget_template.xhtml
              </property>
              <property name="required">true</property>
            </properties>
          </widget>
          <widget name="parameters" type="reportParameters">
            <labels>
              <label mode="any">label.birt.reporting.reportParameters</label>
            </labels>
            <translated>true</translated>
            <fields>
              <field>birt:parameters</field>
            </fields>
            <widgetModes>
              <mode value="create">hidden</mode>
            </widgetModes>
          </widget>
        </layout>
  • <layout name="birtReportModel">
          <templates>
            <template mode="any">/layouts/layout_default_template.xhtml</template>
          </templates>
          <rows>
            <row>
              <widget>modelName</widget>
            </row>
            <row>
              <widget>parameters</widget>
            </row>
          </rows>
          <widget name="modelName" type="text">
            <labels>
              <label mode="any">label.birt.reporting.reportModelName</label>
            </labels>
            <translated>true</translated>
            <fields>
              <field>birtmodel:reportName</field>
            </fields>
            <properties widgetMode="any">
              <property name="required">false</property>
            </properties>
            <widgetModes>
              <mode value="create">hidden</mode>
              <mode value="edit">view</mode>
            </widgetModes>
          </widget>
          <widget name="parameters" type="reportParameters">
            <labels>
              <label mode="any">label.birt.reporting.reportParameters</label>
            </labels>
            <translated>true</translated>
            <fields>
              <field>birtmodel:parameters</field>
            </fields>
            <widgetModes>
              <mode value="create">hidden</mode>
            </widgetModes>
          </widget>
        </layout>
  • <layout name="report_file">
          <templates>
            <template mode="any">/layouts/layout_default_template.xhtml</template>
          </templates>
          <rows>
            <row>
              <widget>report_file</widget>
            </row>
          </rows>
        </layout>

XML Source

<extension point="layouts" target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager">

    <layout name="birtReport">
      <templates>
        <template mode="any">/layouts/layout_default_template.xhtml
        </template>
      </templates>
      <rows>
        <row>
          <widget>model</widget>
        </row>
        <row>
          <widget>key</widget>
        </row>
        <row>
          <widget>parameters</widget>
        </row>
      </rows>
      <widget name="key" type="text">
        <labels>
          <label mode="any">label.birt.reporting.reportKey</label>
        </labels>
        <translated>true</translated>
        <fields>
          <field>birt:reportKey</field>
        </fields>
        <widgetModes>
          <mode value="create">hidden</mode>
        </widgetModes>
      </widget>
      <widget name="model" type="template">
        <labels>
          <label mode="any">label.birt.reporting.reportModel</label>
        </labels>
        <translated>true</translated>
        <fields>
          <field>birt:modelRef</field>
        </fields>
        <properties mode="any">
          <property name="template">/widgets/reportmodelref_widget_template.xhtml
          </property>
          <property name="required">true</property>
        </properties>
      </widget>
      <widget name="parameters" type="reportParameters">
        <labels>
          <label mode="any">label.birt.reporting.reportParameters</label>
        </labels>
        <translated>true</translated>
        <fields>
          <field>birt:parameters</field>
        </fields>
        <widgetModes>
          <mode value="create">hidden</mode>
        </widgetModes>
      </widget>
    </layout>

    <layout name="birtReportModel">
      <templates>
        <template mode="any">/layouts/layout_default_template.xhtml</template>
      </templates>
      <rows>
        <row>
          <widget>modelName</widget>
        </row>
        <row>
          <widget>parameters</widget>
        </row>
      </rows>
      <widget name="modelName" type="text">
        <labels>
          <label mode="any">label.birt.reporting.reportModelName</label>
        </labels>
        <translated>true</translated>
        <fields>
          <field>birtmodel:reportName</field>
        </fields>
        <properties widgetMode="any">
          <property name="required">false</property>
        </properties>
        <widgetModes>
          <mode value="create">hidden</mode>
          <mode value="edit">view</mode>
        </widgetModes>
      </widget>
      <widget name="parameters" type="reportParameters">
        <labels>
          <label mode="any">label.birt.reporting.reportParameters</label>
        </labels>
        <translated>true</translated>
        <fields>
          <field>birtmodel:parameters</field>
        </fields>
        <widgetModes>
          <mode value="create">hidden</mode>
        </widgetModes>
      </widget>
    </layout>

    <layout name="report_file">
      <templates>
        <template mode="any">/layouts/layout_default_template.xhtml</template>
      </templates>
      <rows>
        <row>
          <widget>report_file</widget>
        </row>
      </rows>
    </layout>
  </extension>